package jNotesCore;

import jNotesUtilities.PropertiesGenerator;

public class TextNote extends Note
{
	
	final private String NoteType = "Text";
	
	String Text;
	
	/**
	 * Used for creating a note with the default values
	 * @param text - Used for specifying the text to be displayed. For an empty TextNote set text to "".
	 */
	public TextNote(String text)
	{
		super();
		Text = text;
	}
	
	public void setText(String text)
	{
		Text = text;
	}
	
	
	//Get Information
	
	public PropertiesGenerator getProperties()//return all the atributes regarding this note
	{
		return new jNotesUtilities.PropertiesGenerator(this, NoteType);
	}
	
	public String getText()
	{
		return Text;
	}
	
	public String toString()
	{
		return super.toString();
	}
}
